package asteroids.model.programs.parsing.expressions;

import java.util.Map;

import asteroids.model.CollisionObject;

public class Null extends Entity {
	public Null(){
		//Saving nothing is more efficient;
	}
	public Object getContent(Map<String,E> map, CollisionObject givenCollisionObject){
		return Double.POSITIVE_INFINITY;
	}

	public boolean isEntity(){
		return false;
	}
	public boolean isString(){
		return false;
	}
	public boolean isDouble() {
		return false;
	}
	public boolean isBoolean(){
		return false;
	}
	public boolean isNull(){
		return true;
	}
}
